package com.cc.alltype.wechat;

import java.io.Serializable;

/**
 * 请求微信服务器带有场景值的临时二维码票据时用到的请求参数
 * @author chanchaw
 * @create 2024-11-28 10:34
 */

public class SceneQRTicketTempReqParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer expire_seconds;// 该二维码有效时间，以秒为单位。 最大不超过2592000（即30天），此字段如果不填，则默认有效期为60秒。
    private String action_name;// 二维码类型，QR_SCENE为临时的整型参数值，QR_STR_SCENE为临时的字符串参数值，QR_LIMIT_SCENE为永久的整型参数值，QR_LIMIT_STR_SCENE为永久的字符串参数值
    private QrSceneWrapper action_info;

    public Integer getExpire_seconds() {
        return expire_seconds;
    }

    public void setExpire_seconds(Integer expire_seconds) {
        this.expire_seconds = expire_seconds;
    }

    public String getAction_name() {
        return action_name;
    }

    public void setAction_name(String action_name) {
        this.action_name = action_name;
    }

    public QrSceneWrapper getAction_info() {
        return action_info;
    }

    public void setAction_info(QrSceneWrapper action_info) {
        this.action_info = action_info;
    }

    @Override
    public String toString() {
        return "SceneQRTicketTempReqParam{" +
                "expire_seconds=" + expire_seconds +
                ", action_name='" + action_name + '\'' +
                ", action_info=" + action_info +
                '}';
    }

    public SceneQRTicketTempReqParam() {
    }

    public SceneQRTicketTempReqParam(Integer expire_seconds, String action_name, QrSceneWrapper action_info) {
        this.expire_seconds = expire_seconds;
        this.action_name = action_name;
        this.action_info = action_info;
    }
}
